#pragma once
#include<stdio.h>
#include<stdlib.h>

typedef int SLdatatype;
typedef struct SeqList
{
	SLdatatype* arr;
	int size;
	int capacity;
}SeqList;

void nit(SeqList* p);
void Checkpointer(SeqList* p);
void Checkcapa(SeqList* p);
void Pushback(SeqList* p, SLdatatype x);
void Destroy(SeqList* p);
void Pushfront(SeqList* p, SLdatatype x);
void print(SeqList* p);
void Detback(SeqList* p);
void Detfront(SeqList* p);
void Insert(SeqList* p, int pos, SLdatatype x);